package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.GoodsQuerstionMapper;
import com.rongke.model.GoodsQuerstion;
import com.rongke.service.GoodsQuerstionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @GoodsQuerstionServiceImpl
 * @体验众测问卷选择ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class GoodsQuerstionServiceImpl extends ServiceImpl<GoodsQuerstionMapper, GoodsQuerstion> implements GoodsQuerstionService {

    @Autowired
    private GoodsQuerstionMapper goodsQuerstionMapper;

    /**
     * @根据条件查找体验众测问卷选择
     * @param goodsQuerstion
     * @return
     */
    @Override
    public List<GoodsQuerstion> selectByCondition(GoodsQuerstion goodsQuerstion) {
        return goodsQuerstionMapper.selectByCondition(goodsQuerstion);
    }
}
